<script type="text/javascript" src="/js/account.js" language="javascript" ></script>
<?php 
if(isset($_SESSION['config_template']))
{
	if($_SESSION['config_template']=='layoutmain_web1')
	{
		?>
		<style type="text/css">
			.labeltxt {font-weight:bold;}
			.star {color:red;}
			.label {width:25%; height:30px;}
			.td_star {width:2%; height:30px;}
			.txtInput {width:35%; height:30px;}
			.outputError {width:38%; height:30px; color:red;}
		</style>
		<div class="my-account">
					<h1><?php echo $this->text_profile;?></h1>
					<div class="line"><hr></div>
					<br>
					
					<form id="frmRegister" name="frmRegister" action="" method="POST" enctype="multipart/form-data" onsubmit="return checkChangeProfile()">
								<div class="fieldset" style="height:auto !important;width:640px;">
									<h2 class="legend"><?php echo $this->text_lguser;?></h2>
									<table width="100%">
		                            	<tr>
		                                	<td class="label"><p class="labeltxt"><?php echo $this->text_avatar;?></p></td>
		                                    <td class="td_star"></td>
		                                    <td class="txtInput">
		                                    	<div id="avatar">
		                                    		<img alt="" src="<?php if(isset($this->userLogin)) echo $this->userLogin['avatar'];?>" style="max-width:150px; max-height:150px;">
		                                    	</div>
		                                    </td>
		                                    <td class="outputError" id="alertAvatar">
		                                    </td>
		                        		</tr>
		                        		<tr>
		                                	<td class="label"><p class="labeltxt"></p></td>
		                                    <td class="td_star"></td>
		                                    <td class="txtInput">
		                                    	<input type="file" name="avatarUpload" id="avatarUpload"/>
		                                    </td>
		                                    <td class="outputError" id="alertUpload">
		                                    	<?php if(isset($this->avatarError)) echo $this->avatarError;?>
		                                    </td>
		                        		</tr>
		                            	<tr>
		                                	<td class="label"><p class="labeltxt"><?php echo $this->text_currentpass;?></p></td>
		                                    <td class="td_star"><span class="star">*</span></td>
		                                    <td class="txtInput">
		                                    	<input type="password" name="txtPassword" id="txtPassword" size="35%" maxlength="30" class="input-text"/>
		                                    </td>
		                                    <td class="outputError" id="alertPass">
		                                    	<?php if(isset($this->passwordError)) echo $this->error_pass7;?>
		                                    </td>
		                        		</tr>
		                                <tr>
		                                	<td class="label"><p class="labeltxt"><?php echo $this->text_email;?></p></td>
		                                    <td class="td_star"><span class="star">*</span></td>
		                                    <td class="txtInput">
		                                    	<input type="text" name="txtEmail" id="txtEmail" size="35%" maxlength="30" class="input-text" value="<?php if(isset($this->userLogin)) echo $this->userLogin['email']?>" />
		                                    </td>
		                                    <td class="outputError" id="alertEmail">
		                                    	<?php if(isset($this->emailError)) echo $this->error_pass9;?>
		                                    </td>
		                                </tr>
		                        	</table>
								</div>
								<div class="fieldset" style="height:auto !important;width:640px;">
										<h2 class="legend"><?php echo $this->text_lgprofile;?></h2>
										<table width="100%">
			                            	<tr>
			                                	<td class="label"><p class="labeltxt"><?php echo $this->text_name;?></p></td>
			                                    <td class="td_star"><span class="star">*</span></td>
			                                    <td class="txtInput">
			                                    	<input type="text" name="txtFullName" id="txtFullName" size="35%" maxlength="30" class="input-text" value="<?php if(isset($this->userLogin)) echo $this->userLogin['full_name']?>" />
			                                    </td>
			                                    <td class="outputError" id="alertFullName">
			                                    </td>
			                        		</tr>
			                                <tr>
			                                	<td class="label"><p class="labeltxt"><?php echo $this->text_sex;?></p></td>
			                                    <td class="td_star"><span class="star">*</span></td>
			                                    <td class="txtInput">
			                                    	<select id="sltSex" name="sltSex" tabindex="0" >
			                                                <option <?php if(isset($this->userLogin) && $this->userLogin['sex'] == 1) echo "selected='selected'"?> value="1"><?php echo $this->text_sex1;?></option>
			                                                <option <?php if(isset($this->userLogin) && $this->userLogin['sex'] == 0) echo "selected='selected'"?> value="0"><?php echo $this->text_sex0;?></option>
			                                         </select>
			                                    </td>
			                                    <td class="outputError" id="alertSex">
			                                    </td>
			                                </tr>
			                                <tr>
			                                	<td class="label"><p class="labeltxt"><?php echo $this->text_birthday;?></p></td>
			                                    <td class="td_star"><span class="star">*</span></td>
			                                    <td class="txtInput">
			                                    	<select id="dBirthday" name="dBirthday" tabindex="0" class="select">
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==1) echo "selected='selected'"?> value="1">1</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==2) echo "selected='selected'"?> value="2">2</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==3) echo "selected='selected'"?> value="3">3</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==4) echo "selected='selected'"?> value="4">4</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==5) echo "selected='selected'"?> value="5">5</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==6) echo "selected='selected'"?> value="6">6</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==7) echo "selected='selected'"?> value="7">7</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==8) echo "selected='selected'"?> value="8">8</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==9) echo "selected='selected'"?> value="9">9</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==10) echo "selected='selected'"?> value="10">10</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==11) echo "selected='selected'"?> value="11">11</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==12) echo "selected='selected'"?> value="12">12</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==13) echo "selected='selected'"?> value="13">13</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==14) echo "selected='selected'"?> value="14">14</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==15) echo "selected='selected'"?> value="15">15</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==16) echo "selected='selected'"?> value="16">16</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==17) echo "selected='selected'"?> value="17">17</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==18) echo "selected='selected'"?> value="18">18</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==19) echo "selected='selected'"?> value="19">19</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==20) echo "selected='selected'"?> value="20">20</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==21) echo "selected='selected'"?> value="21">21</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==22) echo "selected='selected'"?> value="22">22</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==23) echo "selected='selected'"?> value="23">23</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==24) echo "selected='selected'"?> value="24">24</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==25) echo "selected='selected'"?> value="25">25</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==26) echo "selected='selected'"?> value="26">26</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==27) echo "selected='selected'"?> value="27">27</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==28) echo "selected='selected'"?> value="28">28</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==29) echo "selected='selected'"?> value="29">29</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==30) echo "selected='selected'"?> value="30">30</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==31) echo "selected='selected'"?> value="31">31</option>
			                                         </select>
			                                         <select id="mBirthday" name="mBirthday" tabindex="0" class="select">
				                                         		 <option <?php if(isset($this->mbirthday) && $this->mbirthday==1) echo "selected='selected'"?> value="1">1</option>
				                                                 <option <?php if(isset($this->mbirthday) && $this->mbirthday==2) echo "selected='selected'"?> value="2">2</option>
				                                                 <option <?php if(isset($this->mbirthday) && $this->mbirthday==3) echo "selected='selected'"?> value="3">3</option>
				                                                 <option <?php if(isset($this->mbirthday) && $this->mbirthday==4) echo "selected='selected'"?> value="4">4</option>
				                                                 <option <?php if(isset($this->mbirthday) && $this->mbirthday==5) echo "selected='selected'"?> value="5">5</option>
				                                                 <option <?php if(isset($this->mbirthday) && $this->mbirthday==6) echo "selected='selected'"?> value="6">6</option>
				                                                 <option <?php if(isset($this->mbirthday) && $this->mbirthday==7) echo "selected='selected'"?> value="7">7</option>
				                                                 <option <?php if(isset($this->mbirthday) && $this->mbirthday==8) echo "selected='selected'"?> value="8">8</option>
				                                                 <option <?php if(isset($this->mbirthday) && $this->mbirthday==9) echo "selected='selected'"?> value="9">9</option>
				                                                 <option <?php if(isset($this->mbirthday) && $this->mbirthday==10) echo "selected='selected'"?> value="10">10</option>
				                                                 <option <?php if(isset($this->mbirthday) && $this->mbirthday==11) echo "selected='selected'"?> value="11">11</option>
				                                                 <option <?php if(isset($this->mbirthday) && $this->mbirthday==12) echo "selected='selected'"?> value="12">12</option>
			                                         </select>
			                                         <select id="yBirthday" name="yBirthday" tabindex="0" class="select">
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2011) echo "selected='selected'"?> value="2011">2011</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2010) echo "selected='selected'"?> value="2010">2010</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2009) echo "selected='selected'"?> value="2009">2009</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2008) echo "selected='selected'"?> value="2008">2008</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2007) echo "selected='selected'"?> value="2007">2007</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2006) echo "selected='selected'"?> value="2006">2006</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2005) echo "selected='selected'"?> value="2005">2005</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2004) echo "selected='selected'"?> value="2004">2004</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2003) echo "selected='selected'"?> value="2003">2003</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2002) echo "selected='selected'"?> value="2002">2002</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2001) echo "selected='selected'"?> value="2001">2001</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2000) echo "selected='selected'"?> value="2000">2000</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1999) echo "selected='selected'"?> value="1999">1999</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1998) echo "selected='selected'"?> value="1998">1998</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1997) echo "selected='selected'"?> value="1997">1997</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1996) echo "selected='selected'"?> value="1996">1996</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1995) echo "selected='selected'"?> value="1995">1995</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1994) echo "selected='selected'"?> value="1994">1994</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1993) echo "selected='selected'"?> value="1993">1993</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1992) echo "selected='selected'"?> value="1992">1992</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1991) echo "selected='selected'"?> value="1991">1991</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1990) echo "selected='selected'"?> value="1990">1990</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1989) echo "selected='selected'"?> value="1989">1989</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1988) echo "selected='selected'"?> value="1988">1988</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1987) echo "selected='selected'"?> value="1987">1987</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1986) echo "selected='selected'"?> value="1986">1986</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1985) echo "selected='selected'"?> value="1985">1985</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1984) echo "selected='selected'"?> value="1984">1984</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1983) echo "selected='selected'"?> value="1983">1983</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1982) echo "selected='selected'"?> value="1982">1982</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1981) echo "selected='selected'"?> value="1981">1981</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1980) echo "selected='selected'"?> value="1980">1980</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1979) echo "selected='selected'"?> value="1979">1979</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1978) echo "selected='selected'"?> value="1978">1978</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1977) echo "selected='selected'"?> value="1977">1977</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1976) echo "selected='selected'"?> value="1976">1976</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1975) echo "selected='selected'"?> value="1975">1975</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1974) echo "selected='selected'"?> value="1974">1974</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1973) echo "selected='selected'"?> value="1973">1973</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1972) echo "selected='selected'"?> value="1972">1972</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1971) echo "selected='selected'"?> value="1971">1971</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1970) echo "selected='selected'"?> value="1970">1970</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1969) echo "selected='selected'"?> value="1969">1969</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1968) echo "selected='selected'"?> value="1968">1968</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1967) echo "selected='selected'"?> value="1967">1967</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1966) echo "selected='selected'"?> value="1966">1966</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1965) echo "selected='selected'"?> value="1965">1965</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1964) echo "selected='selected'"?> value="1964">1964</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1963) echo "selected='selected'"?> value="1963">1963</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1962) echo "selected='selected'"?> value="1962">1962</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1961) echo "selected='selected'"?> value="1961">1961</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1960) echo "selected='selected'"?> value="1960">1960</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1959) echo "selected='selected'"?> value="1959">1959</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1958) echo "selected='selected'"?> value="1958">1958</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1957) echo "selected='selected'"?> value="1957">1957</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1956) echo "selected='selected'"?> value="1956">1956</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1955) echo "selected='selected'"?> value="1955">1955</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1954) echo "selected='selected'"?> value="1954">1954</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1953) echo "selected='selected'"?> value="1953">1953</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1952) echo "selected='selected'"?> value="1952">1952</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1951) echo "selected='selected'"?> value="1951">1951</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1950) echo "selected='selected'"?> value="1950">1950</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1949) echo "selected='selected'"?> value="1949">1949</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1948) echo "selected='selected'"?> value="1948">1948</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1947) echo "selected='selected'"?> value="1947">1947</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1946) echo "selected='selected'"?> value="1946">1946</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1945) echo "selected='selected'"?> value="1945">1945</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1944) echo "selected='selected'"?> value="1944">1944</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1943) echo "selected='selected'"?> value="1943">1943</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1942) echo "selected='selected'"?> value="1942">1942</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1941) echo "selected='selected'"?> value="1941">1941</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1940) echo "selected='selected'"?> value="1940">1940</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1939) echo "selected='selected'"?> value="1939">1939</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1938) echo "selected='selected'"?> value="1938">1938</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1937) echo "selected='selected'"?> value="1937">1937</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1936) echo "selected='selected'"?> value="1936">1936</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1935) echo "selected='selected'"?> value="1935">1935</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1934) echo "selected='selected'"?> value="1934">1934</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1933) echo "selected='selected'"?> value="1933">1933</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1932) echo "selected='selected'"?> value="1932">1932</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1931) echo "selected='selected'"?> value="1931">1931</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1930) echo "selected='selected'"?> value="1930">1930</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1929) echo "selected='selected'"?> value="1929">1929</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1928) echo "selected='selected'"?> value="1928">1928</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1927) echo "selected='selected'"?> value="1927">1927</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1926) echo "selected='selected'"?> value="1926">1926</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1925) echo "selected='selected'"?> value="1925">1925</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1924) echo "selected='selected'"?> value="1924">1924</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1923) echo "selected='selected'"?> value="1923">1923</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1922) echo "selected='selected'"?> value="1922">1922</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1921) echo "selected='selected'"?> value="1921">1921</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1920) echo "selected='selected'"?> value="1920">1920</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1919) echo "selected='selected'"?> value="1919">1919</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1918) echo "selected='selected'"?> value="1918">1918</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1917) echo "selected='selected'"?> value="1917">1917</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1916) echo "selected='selected'"?> value="1916">1916</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1915) echo "selected='selected'"?> value="1915">1915</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1914) echo "selected='selected'"?> value="1914">1914</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1913) echo "selected='selected'"?> value="1913">1913</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1912) echo "selected='selected'"?> value="1912">1912</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1911) echo "selected='selected'"?> value="1911">1911</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1910) echo "selected='selected'"?> value="1910">1910</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1909) echo "selected='selected'"?> value="1909">1909</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1908) echo "selected='selected'"?> value="1908">1908</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1907) echo "selected='selected'"?> value="1907">1907</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1906) echo "selected='selected'"?> value="1906">1906</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1905) echo "selected='selected'"?> value="1905">1905</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1904) echo "selected='selected'"?> value="1904">1904</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1903) echo "selected='selected'"?> value="1903">1903</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1902) echo "selected='selected'"?> value="1902">1902</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1901) echo "selected='selected'"?> value="1901">1901</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1900) echo "selected='selected'"?> value="1900">1900</option>
			                                          </select>
			                                    </td>
			                                    <td class="outputError" id="alertBirthday">
			                                    </td>
			                                </tr>
			                                <tr>
			                                	<td class="label"><p class="labeltxt"><?php echo $this->text_address;?></p></td>
			                                	<td class="td_star"><span class="star">*</span></td>
			                                    <td class="txtInput">
			                                    	<input type="text" name="txtAddress" id="txtAddress" size="35%" maxlength="50" class="input-text" value="<?php if(isset($this->address)) echo $this->address; else if(isset($this->userLogin) && ($this->userLogin['address']!=null || $this->userLogin['address']!="")) echo $this->userLogin['address'];?>" />
			                                    </td>
			                                    <td class="outputError" id="alertAddress">
			                                    </td>
			                                </tr>
			                                <tr>
			                                	<td class="label"><p class="labeltxt"><?php echo $this->text_career;?></p></td>
			                                    <td class="td_star"><span class="star">*</span></td>
			                                    <td class="txtInput">
			                                    	<input type="text" name="txtCareer" id="txtCareer" size="35%" maxlength="30" class="input-text" value="<?php if(isset($this->career)) echo $this->career; else if(isset($this->userLogin) && ($this->userLogin['career']!=null || $this->userLogin['career']!="")) echo $this->userLogin['career']; ?>" />
			                                    </td>
			                                    <td class="outputError" id="alertCareer">
			                                    </td>
			                                </tr>
			                                <tr>
			                                	<td class="label"><p class="labeltxt"><?php echo $this->text_phone;?></p></td>
			                                    <td class="td_star"><span class="star">*</span></td>
			                                    <td class="txtInput">
			                                    	<input type="text" name="txtPhone" id="txtPhone" size="35%" maxlength="30" class="input-text" value="<?php if(isset($this->phone)) echo $this->phone; else if(isset($this->userLogin) && ($this->userLogin['phone']!=null || $this->userLogin['phone']!="")) echo $this->userLogin['phone']; ?>" />
			                                    </td>
			                                    <td class="outputError" id="alertPhone">
			                                    </td>
			                        		</tr>
			                                <tr>
			                                	<td class="label"><p class="labeltxt"><?php echo $this->text_yahoo;?></p></td>
			                                    <td class="td_star"><span class="star">*</span></td>
			                                    <td class="txtInput">
			                                    	<input type="text" name="txtYahoo" id="txtYahoo" size="35%" maxlength="30" class="input-text" value="<?php if(isset($this->yahoo)) echo $this->yahoo; else if(isset($this->userLogin) && ($this->userLogin['yahoo']!=null || $this->userLogin['yahoo']!="")) echo $this->userLogin['yahoo']; ?>" />
			                                    </td>
			                                    <td class="outputError" id="alertYahoo">
			                                    </td>
			                        		</tr>
			                        		<tr>
			                                	<td class="label"><p class="labeltxt"><?php echo $this->text_skype;?></p></td>
			                                    <td class="td_star"><span class="star">*</span></td>
			                                    <td class="txtInput">
			                                    	<input type="text" name="txtSkype" id="txtSkype" size="35%" maxlength="30" class="input-text" value="<?php if(isset($this->skype)) echo $this->skype; else if(isset($this->userLogin) && ($this->userLogin['skype']!=null || $this->userLogin['skype']!="")) echo $this->userLogin['skype']; ?>" />
			                                    </td>
			                                    <td class="outputError" id="alertSkype">
			                                    </td>
			                        		</tr>
			                        	</table>
								</div>
								<div class="fieldset" style="height:auto !important;width:640px;">
									<h2 class="legend"><?php echo $this->text_lgcaptcha;?></h2>
									<table width="100%">
		                            	<tr>
		                                	<td class="label"><p class="labeltxt"><?php echo $this->text_captcha;?></p></td>
		                                	<td></td>
		                                    <td class="txtInput">
		                                    	<div style="width:160px; height:50px; float:left;">
		                                    	<a onclick="captcha()" style="cursor:pointer"><img id="captchaShow" src="<?php echo "/captcha/images/".$this->captchaID.".jpg"?>"/></a>
		                                    	</div><div style="width:28px; height:30px; float:left; margin-top:10px; margin-left:10px;">
		                                    	<input type="button" id="changeCaptcha" name="changeCaptcha" value="" onclick="captcha()" style="background:url(/images/ResetButton.png); width:28px; height:30px; border:0; cursor:pointer"/>
		                                    	</div>
		                                    </td>
		                                    <td class="outputError">
		                                    	<input type="hidden" id="hdnCaptcha" name="hdnCaptcha" value="<?php echo $this->captchaID?>" />
		                                    </td>
		                                </tr>
		                                <tr>
		                                	<td class="label"><p class="labeltxt"><?php echo $this->text_inputcaptcha;?></p></td>
		                                    <td class="td_star"><span class="star">*</span></td>
		                                    <td class="txtInput">
		                                    	<input type="text" name="txtCaptcha" id="txtCaptcha" size="35%" maxlength="30" class="input-text" />
		                                    </td>
		                                    <td class="outputError" id="alertCaptcha">
		                                    	<?php if(isset($this->captchaError)) echo $this->error_pass8;?>
		                                    </td>
		                                </tr>
		                            </table>
								</div>
								<div class="buttons-set" style="width:700px;">
									<p class="required"><?php echo $this->text_tip;?></p>
									<p class="back-link"><a href="/account"><small>« </small><?php echo $this->text_cancel;?></a></p>
									<button type="submit" title="<?php echo $this->text_submit;?>" class="button"><span><span><?php echo $this->text_submit;?></span></span></button>
								</div>
							</form>
        
		</div>
		<?php 
	}
	else 
	{
		if($_SESSION['config_template']=='layoutmain_web2')
		{?>
			<!-- start center -->
					<div id="main" class="col-main">
						<div class="my-account">
								<style type="text/css">
									.labeltxt {font-weight:bold;}
									.star {color:red;}
									.label {width:25%; height:30px;}
									.td_star {width:2%; height:30px;}
									.txtInput {width:35%; height:30px;}
									.outputError {width:38%; height:30px; color:red;}
								</style>
								<div class="page-title">
									<h1><?php echo $this->text_profile;?></h1>
								</div>
								<form id="frmRegister" name="frmRegister" action="" method="POST" enctype="multipart/form-data" onsubmit="return checkChangeProfile()">
								<div class="fieldset" style="height:auto !important;width:640px;">
									<h2 class="legend"><?php echo $this->text_lguser;?></h2>
									<table width="100%">
		                            	<tr>
		                                	<td class="label"><p class="labeltxt"><?php echo $this->text_avatar;?></p></td>
		                                    <td class="td_star"></td>
		                                    <td class="txtInput">
		                                    	<div id="avatar">
		                                    		<img alt="" src="<?php if(isset($this->userLogin)) echo $this->userLogin['avatar'];?>" style="max-width:150px; max-height:150px;">
		                                    	</div>
		                                    </td>
		                                    <td class="outputError" id="alertAvatar">
		                                    </td>
		                        		</tr>
		                        		<tr>
		                                	<td class="label"><p class="labeltxt"></p></td>
		                                    <td class="td_star"></td>
		                                    <td class="txtInput">
		                                    	<input type="file" name="avatarUpload" id="avatarUpload"/>
		                                    </td>
		                                    <td class="outputError" id="alertUpload">
		                                    	<?php if(isset($this->avatarError)) echo $this->avatarError;?>
		                                    </td>
		                        		</tr>
		                            	<tr>
		                                	<td class="label"><p class="labeltxt"><?php echo $this->text_currentpass;?></p></td>
		                                    <td class="td_star"><span class="star">*</span></td>
		                                    <td class="txtInput">
		                                    	<input type="password" name="txtPassword" id="txtPassword" size="35%" maxlength="30" class="input-text"/>
		                                    </td>
		                                    <td class="outputError" id="alertPass">
		                                    	<?php if(isset($this->passwordError)) echo $this->error_pass7;?>
		                                    </td>
		                        		</tr>
		                                <tr>
		                                	<td class="label"><p class="labeltxt"><?php echo $this->text_email;?></p></td>
		                                    <td class="td_star"><span class="star">*</span></td>
		                                    <td class="txtInput">
		                                    	<input type="text" name="txtEmail" id="txtEmail" size="35%" maxlength="30" class="input-text" value="<?php if(isset($this->userLogin)) echo $this->userLogin['email']?>" />
		                                    </td>
		                                    <td class="outputError" id="alertEmail">
		                                    	<?php if(isset($this->emailError)) echo $this->error_pass9;?>
		                                    </td>
		                                </tr>
		                        	</table>
								</div>
								<div class="fieldset" style="height:auto !important;width:640px;">
										<h2 class="legend"><?php echo $this->text_lgprofile;?></h2>
										<table width="100%">
			                            	<tr>
			                                	<td class="label"><p class="labeltxt"><?php echo $this->text_name;?></p></td>
			                                    <td class="td_star"><span class="star">*</span></td>
			                                    <td class="txtInput">
			                                    	<input type="text" name="txtFullName" id="txtFullName" size="35%" maxlength="30" class="input-text" value="<?php if(isset($this->userLogin)) echo $this->userLogin['full_name']?>" />
			                                    </td>
			                                    <td class="outputError" id="alertFullName">
			                                    </td>
			                        		</tr>
			                                <tr>
			                                	<td class="label"><p class="labeltxt"><?php echo $this->text_sex;?></p></td>
			                                    <td class="td_star"><span class="star">*</span></td>
			                                    <td class="txtInput">
			                                    	<select id="sltSex" name="sltSex" tabindex="0" >
			                                                <option <?php if(isset($this->userLogin) && $this->userLogin['sex'] == 1) echo "selected='selected'"?> value="1"><?php echo $this->text_sex1;?></option>
			                                                <option <?php if(isset($this->userLogin) && $this->userLogin['sex'] == 0) echo "selected='selected'"?> value="0"><?php echo $this->text_sex0;?></option>
			                                         </select>
			                                    </td>
			                                    <td class="outputError" id="alertSex">
			                                    </td>
			                                </tr>
			                                <tr>
			                                	<td class="label"><p class="labeltxt"><?php echo $this->text_birthday;?></p></td>
			                                    <td class="td_star"><span class="star">*</span></td>
			                                    <td class="txtInput">
			                                    	<select id="dBirthday" name="dBirthday" tabindex="0" class="select">
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==1) echo "selected='selected'"?> value="1">1</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==2) echo "selected='selected'"?> value="2">2</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==3) echo "selected='selected'"?> value="3">3</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==4) echo "selected='selected'"?> value="4">4</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==5) echo "selected='selected'"?> value="5">5</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==6) echo "selected='selected'"?> value="6">6</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==7) echo "selected='selected'"?> value="7">7</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==8) echo "selected='selected'"?> value="8">8</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==9) echo "selected='selected'"?> value="9">9</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==10) echo "selected='selected'"?> value="10">10</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==11) echo "selected='selected'"?> value="11">11</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==12) echo "selected='selected'"?> value="12">12</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==13) echo "selected='selected'"?> value="13">13</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==14) echo "selected='selected'"?> value="14">14</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==15) echo "selected='selected'"?> value="15">15</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==16) echo "selected='selected'"?> value="16">16</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==17) echo "selected='selected'"?> value="17">17</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==18) echo "selected='selected'"?> value="18">18</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==19) echo "selected='selected'"?> value="19">19</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==20) echo "selected='selected'"?> value="20">20</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==21) echo "selected='selected'"?> value="21">21</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==22) echo "selected='selected'"?> value="22">22</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==23) echo "selected='selected'"?> value="23">23</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==24) echo "selected='selected'"?> value="24">24</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==25) echo "selected='selected'"?> value="25">25</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==26) echo "selected='selected'"?> value="26">26</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==27) echo "selected='selected'"?> value="27">27</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==28) echo "selected='selected'"?> value="28">28</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==29) echo "selected='selected'"?> value="29">29</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==30) echo "selected='selected'"?> value="30">30</option>
			                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==31) echo "selected='selected'"?> value="31">31</option>
			                                         </select>
			                                         <select id="mBirthday" name="mBirthday" tabindex="0" class="select">
				                                         		 <option <?php if(isset($this->mbirthday) && $this->mbirthday==1) echo "selected='selected'"?> value="1">1</option>
				                                                 <option <?php if(isset($this->mbirthday) && $this->mbirthday==2) echo "selected='selected'"?> value="2">2</option>
				                                                 <option <?php if(isset($this->mbirthday) && $this->mbirthday==3) echo "selected='selected'"?> value="3">3</option>
				                                                 <option <?php if(isset($this->mbirthday) && $this->mbirthday==4) echo "selected='selected'"?> value="4">4</option>
				                                                 <option <?php if(isset($this->mbirthday) && $this->mbirthday==5) echo "selected='selected'"?> value="5">5</option>
				                                                 <option <?php if(isset($this->mbirthday) && $this->mbirthday==6) echo "selected='selected'"?> value="6">6</option>
				                                                 <option <?php if(isset($this->mbirthday) && $this->mbirthday==7) echo "selected='selected'"?> value="7">7</option>
				                                                 <option <?php if(isset($this->mbirthday) && $this->mbirthday==8) echo "selected='selected'"?> value="8">8</option>
				                                                 <option <?php if(isset($this->mbirthday) && $this->mbirthday==9) echo "selected='selected'"?> value="9">9</option>
				                                                 <option <?php if(isset($this->mbirthday) && $this->mbirthday==10) echo "selected='selected'"?> value="10">10</option>
				                                                 <option <?php if(isset($this->mbirthday) && $this->mbirthday==11) echo "selected='selected'"?> value="11">11</option>
				                                                 <option <?php if(isset($this->mbirthday) && $this->mbirthday==12) echo "selected='selected'"?> value="12">12</option>
			                                         </select>
			                                         <select id="yBirthday" name="yBirthday" tabindex="0" class="select">
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2011) echo "selected='selected'"?> value="2011">2011</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2010) echo "selected='selected'"?> value="2010">2010</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2009) echo "selected='selected'"?> value="2009">2009</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2008) echo "selected='selected'"?> value="2008">2008</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2007) echo "selected='selected'"?> value="2007">2007</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2006) echo "selected='selected'"?> value="2006">2006</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2005) echo "selected='selected'"?> value="2005">2005</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2004) echo "selected='selected'"?> value="2004">2004</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2003) echo "selected='selected'"?> value="2003">2003</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2002) echo "selected='selected'"?> value="2002">2002</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2001) echo "selected='selected'"?> value="2001">2001</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2000) echo "selected='selected'"?> value="2000">2000</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1999) echo "selected='selected'"?> value="1999">1999</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1998) echo "selected='selected'"?> value="1998">1998</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1997) echo "selected='selected'"?> value="1997">1997</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1996) echo "selected='selected'"?> value="1996">1996</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1995) echo "selected='selected'"?> value="1995">1995</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1994) echo "selected='selected'"?> value="1994">1994</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1993) echo "selected='selected'"?> value="1993">1993</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1992) echo "selected='selected'"?> value="1992">1992</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1991) echo "selected='selected'"?> value="1991">1991</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1990) echo "selected='selected'"?> value="1990">1990</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1989) echo "selected='selected'"?> value="1989">1989</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1988) echo "selected='selected'"?> value="1988">1988</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1987) echo "selected='selected'"?> value="1987">1987</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1986) echo "selected='selected'"?> value="1986">1986</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1985) echo "selected='selected'"?> value="1985">1985</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1984) echo "selected='selected'"?> value="1984">1984</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1983) echo "selected='selected'"?> value="1983">1983</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1982) echo "selected='selected'"?> value="1982">1982</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1981) echo "selected='selected'"?> value="1981">1981</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1980) echo "selected='selected'"?> value="1980">1980</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1979) echo "selected='selected'"?> value="1979">1979</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1978) echo "selected='selected'"?> value="1978">1978</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1977) echo "selected='selected'"?> value="1977">1977</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1976) echo "selected='selected'"?> value="1976">1976</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1975) echo "selected='selected'"?> value="1975">1975</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1974) echo "selected='selected'"?> value="1974">1974</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1973) echo "selected='selected'"?> value="1973">1973</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1972) echo "selected='selected'"?> value="1972">1972</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1971) echo "selected='selected'"?> value="1971">1971</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1970) echo "selected='selected'"?> value="1970">1970</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1969) echo "selected='selected'"?> value="1969">1969</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1968) echo "selected='selected'"?> value="1968">1968</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1967) echo "selected='selected'"?> value="1967">1967</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1966) echo "selected='selected'"?> value="1966">1966</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1965) echo "selected='selected'"?> value="1965">1965</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1964) echo "selected='selected'"?> value="1964">1964</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1963) echo "selected='selected'"?> value="1963">1963</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1962) echo "selected='selected'"?> value="1962">1962</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1961) echo "selected='selected'"?> value="1961">1961</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1960) echo "selected='selected'"?> value="1960">1960</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1959) echo "selected='selected'"?> value="1959">1959</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1958) echo "selected='selected'"?> value="1958">1958</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1957) echo "selected='selected'"?> value="1957">1957</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1956) echo "selected='selected'"?> value="1956">1956</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1955) echo "selected='selected'"?> value="1955">1955</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1954) echo "selected='selected'"?> value="1954">1954</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1953) echo "selected='selected'"?> value="1953">1953</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1952) echo "selected='selected'"?> value="1952">1952</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1951) echo "selected='selected'"?> value="1951">1951</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1950) echo "selected='selected'"?> value="1950">1950</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1949) echo "selected='selected'"?> value="1949">1949</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1948) echo "selected='selected'"?> value="1948">1948</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1947) echo "selected='selected'"?> value="1947">1947</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1946) echo "selected='selected'"?> value="1946">1946</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1945) echo "selected='selected'"?> value="1945">1945</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1944) echo "selected='selected'"?> value="1944">1944</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1943) echo "selected='selected'"?> value="1943">1943</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1942) echo "selected='selected'"?> value="1942">1942</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1941) echo "selected='selected'"?> value="1941">1941</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1940) echo "selected='selected'"?> value="1940">1940</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1939) echo "selected='selected'"?> value="1939">1939</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1938) echo "selected='selected'"?> value="1938">1938</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1937) echo "selected='selected'"?> value="1937">1937</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1936) echo "selected='selected'"?> value="1936">1936</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1935) echo "selected='selected'"?> value="1935">1935</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1934) echo "selected='selected'"?> value="1934">1934</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1933) echo "selected='selected'"?> value="1933">1933</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1932) echo "selected='selected'"?> value="1932">1932</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1931) echo "selected='selected'"?> value="1931">1931</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1930) echo "selected='selected'"?> value="1930">1930</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1929) echo "selected='selected'"?> value="1929">1929</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1928) echo "selected='selected'"?> value="1928">1928</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1927) echo "selected='selected'"?> value="1927">1927</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1926) echo "selected='selected'"?> value="1926">1926</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1925) echo "selected='selected'"?> value="1925">1925</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1924) echo "selected='selected'"?> value="1924">1924</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1923) echo "selected='selected'"?> value="1923">1923</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1922) echo "selected='selected'"?> value="1922">1922</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1921) echo "selected='selected'"?> value="1921">1921</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1920) echo "selected='selected'"?> value="1920">1920</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1919) echo "selected='selected'"?> value="1919">1919</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1918) echo "selected='selected'"?> value="1918">1918</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1917) echo "selected='selected'"?> value="1917">1917</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1916) echo "selected='selected'"?> value="1916">1916</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1915) echo "selected='selected'"?> value="1915">1915</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1914) echo "selected='selected'"?> value="1914">1914</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1913) echo "selected='selected'"?> value="1913">1913</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1912) echo "selected='selected'"?> value="1912">1912</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1911) echo "selected='selected'"?> value="1911">1911</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1910) echo "selected='selected'"?> value="1910">1910</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1909) echo "selected='selected'"?> value="1909">1909</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1908) echo "selected='selected'"?> value="1908">1908</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1907) echo "selected='selected'"?> value="1907">1907</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1906) echo "selected='selected'"?> value="1906">1906</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1905) echo "selected='selected'"?> value="1905">1905</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1904) echo "selected='selected'"?> value="1904">1904</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1903) echo "selected='selected'"?> value="1903">1903</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1902) echo "selected='selected'"?> value="1902">1902</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1901) echo "selected='selected'"?> value="1901">1901</option>
			                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1900) echo "selected='selected'"?> value="1900">1900</option>
			                                          </select>
			                                    </td>
			                                    <td class="outputError" id="alertBirthday">
			                                    </td>
			                                </tr>
			                                <tr>
			                                	<td class="label"><p class="labeltxt"><?php echo $this->text_address;?></p></td>
			                                	<td class="td_star"><span class="star">*</span></td>
			                                    <td class="txtInput">
			                                    	<input type="text" name="txtAddress" id="txtAddress" size="35%" maxlength="50" class="input-text" value="<?php if(isset($this->address)) echo $this->address; else if(isset($this->userLogin) && ($this->userLogin['address']!=null || $this->userLogin['address']!="")) echo $this->userLogin['address'];?>" />
			                                    </td>
			                                    <td class="outputError" id="alertAddress">
			                                    </td>
			                                </tr>
			                                <tr>
			                                	<td class="label"><p class="labeltxt"><?php echo $this->text_career;?></p></td>
			                                    <td class="td_star"><span class="star">*</span></td>
			                                    <td class="txtInput">
			                                    	<input type="text" name="txtCareer" id="txtCareer" size="35%" maxlength="30" class="input-text" value="<?php if(isset($this->career)) echo $this->career; else if(isset($this->userLogin) && ($this->userLogin['career']!=null || $this->userLogin['career']!="")) echo $this->userLogin['career']; ?>" />
			                                    </td>
			                                    <td class="outputError" id="alertCareer">
			                                    </td>
			                                </tr>
			                                <tr>
			                                	<td class="label"><p class="labeltxt"><?php echo $this->text_phone;?></p></td>
			                                    <td class="td_star"><span class="star">*</span></td>
			                                    <td class="txtInput">
			                                    	<input type="text" name="txtPhone" id="txtPhone" size="35%" maxlength="30" class="input-text" value="<?php if(isset($this->phone)) echo $this->phone; else if(isset($this->userLogin) && ($this->userLogin['phone']!=null || $this->userLogin['phone']!="")) echo $this->userLogin['phone']; ?>" />
			                                    </td>
			                                    <td class="outputError" id="alertPhone">
			                                    </td>
			                        		</tr>
			                                <tr>
			                                	<td class="label"><p class="labeltxt"><?php echo $this->text_yahoo;?></p></td>
			                                    <td class="td_star"><span class="star">*</span></td>
			                                    <td class="txtInput">
			                                    	<input type="text" name="txtYahoo" id="txtYahoo" size="35%" maxlength="30" class="input-text" value="<?php if(isset($this->yahoo)) echo $this->yahoo; else if(isset($this->userLogin) && ($this->userLogin['yahoo']!=null || $this->userLogin['yahoo']!="")) echo $this->userLogin['yahoo']; ?>" />
			                                    </td>
			                                    <td class="outputError" id="alertYahoo">
			                                    </td>
			                        		</tr>
			                        		<tr>
			                                	<td class="label"><p class="labeltxt"><?php echo $this->text_skype;?></p></td>
			                                    <td class="td_star"><span class="star">*</span></td>
			                                    <td class="txtInput">
			                                    	<input type="text" name="txtSkype" id="txtSkype" size="35%" maxlength="30" class="input-text" value="<?php if(isset($this->skype)) echo $this->skype; else if(isset($this->userLogin) && ($this->userLogin['skype']!=null || $this->userLogin['skype']!="")) echo $this->userLogin['skype']; ?>" />
			                                    </td>
			                                    <td class="outputError" id="alertSkype">
			                                    </td>
			                        		</tr>
			                        	</table>
								</div>
								<div class="fieldset" style="height:auto !important;width:640px;">
									<h2 class="legend"><?php echo $this->text_lgcaptcha;?></h2>
									<table width="100%">
		                            	<tr>
		                                	<td class="label"><p class="labeltxt"><?php echo $this->text_captcha;?></p></td>
		                                	<td></td>
		                                    <td class="txtInput">
		                                    	<div style="width:160px; height:50px; float:left;">
		                                    	<a onclick="captcha()" style="cursor:pointer"><img id="captchaShow" src="<?php echo "/captcha/images/".$this->captchaID.".jpg"?>"/></a>
		                                    	</div><div style="width:28px; height:30px; float:left; margin-top:10px; margin-left:10px;">
		                                    	<input type="button" id="changeCaptcha" name="changeCaptcha" value="" onclick="captcha()" style="background:url(/images/ResetButton.png); width:28px; height:30px; border:0; cursor:pointer"/>
		                                    	</div>
		                                    </td>
		                                    <td class="outputError">
		                                    	<input type="hidden" id="hdnCaptcha" name="hdnCaptcha" value="<?php echo $this->captchaID?>" />
		                                    </td>
		                                </tr>
		                                <tr>
		                                	<td class="label"><p class="labeltxt"><?php echo $this->text_inputcaptcha;?></p></td>
		                                    <td class="td_star"><span class="star">*</span></td>
		                                    <td class="txtInput">
		                                    	<input type="text" name="txtCaptcha" id="txtCaptcha" size="35%" maxlength="30" class="input-text" />
		                                    </td>
		                                    <td class="outputError" id="alertCaptcha">
		                                    	<?php if(isset($this->captchaError)) echo $this->error_pass8;?>
		                                    </td>
		                                </tr>
		                            </table>
								</div>
								<div class="buttons-set" style="width:700px;">
									<p class="required"><?php echo $this->text_tip;?></p>
									<p class="back-link"><a href="/account"><small>« </small><?php echo $this->text_cancel;?></a></p>
									<button type="submit" title="<?php echo $this->text_submit;?>" class="button"><span><span><?php echo $this->text_submit;?></span></span></button>
								</div>
							</form>
        
						</div>
					
					</div>
					<!-- end center -->
			
			
		<?php }
		else 
		{?>
<link rel="stylesheet" type="text/css" href="/css/userStyle.css" />
				<p><?php echo $this->text_profile;?></p>
				<div class="line"><hr></div>
				<br />
                <div id="contentUser">
                	<i class="guide"><?php echo $this->text_tip;?></i>
                	<form id="frmRegister" name="frmRegister" action="" method="POST" enctype="multipart/form-data" onsubmit="return checkChangeProfile()">
                    	<div id="contentUser_1">
                    	<fieldset style="width:650px">
                        	<legend><span class="nameInformation"><b><?php echo $this->text_lguser;?></b></span></legend>
                            <table width="650px">
                            	<tr>
                                	<td class="label"><p class="labeltxt"><?php echo $this->text_avatar;?></p></td>
                                    <td class="td_star"></td>
                                    <td class="txtInput">
                                    	<div id="avatar">
                                    		<img alt="" src="<?php if(isset($this->userLogin)) echo $this->userLogin['avatar'];?>" style="max-width:150px; max-height:150px;">
                                    	</div>
                                    </td>
                                    <td class="outputError" id="alertAvatar">
                                    </td>
                        		</tr>
                        		<tr>
                                	<td class="label"><p class="labeltxt"></p></td>
                                    <td class="td_star"></td>
                                    <td class="txtInput">
                                    	<input type="file" name="avatarUpload" id="avatarUpload"/>
                                    </td>
                                    <td class="outputError" id="alertUpload">
                                    	<?php if(isset($this->avatarError)) echo $this->avatarError;?>
                                    </td>
                        		</tr>
                            	<tr>
                                	<td class="label"><p class="labeltxt"><?php echo $this->text_currentpass;?></p></td>
                                    <td class="td_star"><span class="star">*</span></td>
                                    <td class="txtInput">
                                    	<input type="password" name="txtPassword" id="txtPassword" size="20" maxlength="30" class="input"/>
                                    </td>
                                    <td class="outputError" id="alertPass">
                                    	<?php if(isset($this->passwordError)) echo $this->error_pass7;?>
                                    </td>
                        		</tr>
                                <tr>
                                	<td class="label"><p class="labeltxt"><?php echo $this->text_email;?></p></td>
                                    <td class="td_star"><span class="star">*</span></td>
                                    <td class="txtInput">
                                    	<input type="text" name="txtEmail" id="txtEmail" size="20" maxlength="30" class="input" value="<?php if(isset($this->userLogin)) echo $this->userLogin['email']?>" />
                                    </td>
                                    <td class="outputError" id="alertEmail">
                                    	<?php if(isset($this->emailError)) echo $this->error_pass9;?>
                                    </td>
                                </tr>
                        	</table>
                        </fieldset>
                        </div><!--end contentUser_1-->
                        
                        <div id="contentUser_2">
                        <fieldset style="width:650px">
                        	<legend><span class="nameInformation"><b><?php echo $this->text_lgprofile;?></b></span></legend>
                            <table width="650px">
                            	<tr>
                                	<td class="label"><p class="labeltxt"><?php echo $this->text_name;?></p></td>
                                    <td class="td_star"><span class="star">*</span></td>
                                    <td class="txtInput">
                                    	<input type="text" name="txtFullName" id="txtFullName" size="20" maxlength="30" class="input" value="<?php if(isset($this->userLogin)) echo $this->userLogin['full_name']?>" />
                                    </td>
                                    <td class="outputError" id="alertFullName">
                                    </td>
                        		</tr>
                                <tr>
                                	<td class="label"><p class="labeltxt"><?php echo $this->text_sex;?></p></td>
                                    <td class="td_star"><span class="star">*</span></td>
                                    <td class="txtInput">
                                    	<select id="sltSex" name="sltSex" tabindex="0" >
                                                <option <?php if(isset($this->userLogin) && $this->userLogin['sex'] == 1) echo "selected='selected'"?> value="1"><?php echo $this->text_sex1;?></option>
                                                <option <?php if(isset($this->userLogin) && $this->userLogin['sex'] == 0) echo "selected='selected'"?> value="0"><?php echo $this->text_sex0;?></option>
                                         </select>
                                    </td>
                                    <td class="outputError" id="alertSex">
                                    </td>
                                </tr>
                                <tr>
                                	<td class="label"><p class="labeltxt"><?php echo $this->text_birthday;?></p></td>
                                    <td class="td_star"><span class="star">*</span></td>
                                    <td class="txtInput">
                                    	<select id="dBirthday" name="dBirthday" tabindex="0" class="select">
                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==1) echo "selected='selected'"?> value="1">1</option>
                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==2) echo "selected='selected'"?> value="2">2</option>
                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==3) echo "selected='selected'"?> value="3">3</option>
                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==4) echo "selected='selected'"?> value="4">4</option>
                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==5) echo "selected='selected'"?> value="5">5</option>
                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==6) echo "selected='selected'"?> value="6">6</option>
                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==7) echo "selected='selected'"?> value="7">7</option>
                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==8) echo "selected='selected'"?> value="8">8</option>
                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==9) echo "selected='selected'"?> value="9">9</option>
                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==10) echo "selected='selected'"?> value="10">10</option>
                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==11) echo "selected='selected'"?> value="11">11</option>
                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==12) echo "selected='selected'"?> value="12">12</option>
                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==13) echo "selected='selected'"?> value="13">13</option>
                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==14) echo "selected='selected'"?> value="14">14</option>
                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==15) echo "selected='selected'"?> value="15">15</option>
                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==16) echo "selected='selected'"?> value="16">16</option>
                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==17) echo "selected='selected'"?> value="17">17</option>
                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==18) echo "selected='selected'"?> value="18">18</option>
                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==19) echo "selected='selected'"?> value="19">19</option>
                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==20) echo "selected='selected'"?> value="20">20</option>
                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==21) echo "selected='selected'"?> value="21">21</option>
                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==22) echo "selected='selected'"?> value="22">22</option>
                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==23) echo "selected='selected'"?> value="23">23</option>
                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==24) echo "selected='selected'"?> value="24">24</option>
                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==25) echo "selected='selected'"?> value="25">25</option>
                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==26) echo "selected='selected'"?> value="26">26</option>
                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==27) echo "selected='selected'"?> value="27">27</option>
                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==28) echo "selected='selected'"?> value="28">28</option>
                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==29) echo "selected='selected'"?> value="29">29</option>
                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==30) echo "selected='selected'"?> value="30">30</option>
                                                     <option <?php if(isset($this->dbirthday) && $this->dbirthday==31) echo "selected='selected'"?> value="31">31</option>
                                         </select>
                                         <select id="mBirthday" name="mBirthday" tabindex="0" class="select">
	                                         		 <option <?php if(isset($this->mbirthday) && $this->mbirthday==1) echo "selected='selected'"?> value="1">1</option>
	                                                 <option <?php if(isset($this->mbirthday) && $this->mbirthday==2) echo "selected='selected'"?> value="2">2</option>
	                                                 <option <?php if(isset($this->mbirthday) && $this->mbirthday==3) echo "selected='selected'"?> value="3">3</option>
	                                                 <option <?php if(isset($this->mbirthday) && $this->mbirthday==4) echo "selected='selected'"?> value="4">4</option>
	                                                 <option <?php if(isset($this->mbirthday) && $this->mbirthday==5) echo "selected='selected'"?> value="5">5</option>
	                                                 <option <?php if(isset($this->mbirthday) && $this->mbirthday==6) echo "selected='selected'"?> value="6">6</option>
	                                                 <option <?php if(isset($this->mbirthday) && $this->mbirthday==7) echo "selected='selected'"?> value="7">7</option>
	                                                 <option <?php if(isset($this->mbirthday) && $this->mbirthday==8) echo "selected='selected'"?> value="8">8</option>
	                                                 <option <?php if(isset($this->mbirthday) && $this->mbirthday==9) echo "selected='selected'"?> value="9">9</option>
	                                                 <option <?php if(isset($this->mbirthday) && $this->mbirthday==10) echo "selected='selected'"?> value="10">10</option>
	                                                 <option <?php if(isset($this->mbirthday) && $this->mbirthday==11) echo "selected='selected'"?> value="11">11</option>
	                                                 <option <?php if(isset($this->mbirthday) && $this->mbirthday==12) echo "selected='selected'"?> value="12">12</option>
                                         </select>
                                         <select id="yBirthday" name="yBirthday" tabindex="0" class="select">
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2011) echo "selected='selected'"?> value="2011">2011</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2010) echo "selected='selected'"?> value="2010">2010</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2009) echo "selected='selected'"?> value="2009">2009</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2008) echo "selected='selected'"?> value="2008">2008</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2007) echo "selected='selected'"?> value="2007">2007</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2006) echo "selected='selected'"?> value="2006">2006</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2005) echo "selected='selected'"?> value="2005">2005</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2004) echo "selected='selected'"?> value="2004">2004</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2003) echo "selected='selected'"?> value="2003">2003</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2002) echo "selected='selected'"?> value="2002">2002</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2001) echo "selected='selected'"?> value="2001">2001</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==2000) echo "selected='selected'"?> value="2000">2000</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1999) echo "selected='selected'"?> value="1999">1999</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1998) echo "selected='selected'"?> value="1998">1998</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1997) echo "selected='selected'"?> value="1997">1997</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1996) echo "selected='selected'"?> value="1996">1996</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1995) echo "selected='selected'"?> value="1995">1995</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1994) echo "selected='selected'"?> value="1994">1994</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1993) echo "selected='selected'"?> value="1993">1993</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1992) echo "selected='selected'"?> value="1992">1992</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1991) echo "selected='selected'"?> value="1991">1991</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1990) echo "selected='selected'"?> value="1990">1990</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1989) echo "selected='selected'"?> value="1989">1989</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1988) echo "selected='selected'"?> value="1988">1988</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1987) echo "selected='selected'"?> value="1987">1987</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1986) echo "selected='selected'"?> value="1986">1986</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1985) echo "selected='selected'"?> value="1985">1985</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1984) echo "selected='selected'"?> value="1984">1984</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1983) echo "selected='selected'"?> value="1983">1983</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1982) echo "selected='selected'"?> value="1982">1982</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1981) echo "selected='selected'"?> value="1981">1981</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1980) echo "selected='selected'"?> value="1980">1980</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1979) echo "selected='selected'"?> value="1979">1979</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1978) echo "selected='selected'"?> value="1978">1978</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1977) echo "selected='selected'"?> value="1977">1977</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1976) echo "selected='selected'"?> value="1976">1976</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1975) echo "selected='selected'"?> value="1975">1975</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1974) echo "selected='selected'"?> value="1974">1974</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1973) echo "selected='selected'"?> value="1973">1973</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1972) echo "selected='selected'"?> value="1972">1972</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1971) echo "selected='selected'"?> value="1971">1971</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1970) echo "selected='selected'"?> value="1970">1970</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1969) echo "selected='selected'"?> value="1969">1969</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1968) echo "selected='selected'"?> value="1968">1968</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1967) echo "selected='selected'"?> value="1967">1967</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1966) echo "selected='selected'"?> value="1966">1966</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1965) echo "selected='selected'"?> value="1965">1965</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1964) echo "selected='selected'"?> value="1964">1964</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1963) echo "selected='selected'"?> value="1963">1963</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1962) echo "selected='selected'"?> value="1962">1962</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1961) echo "selected='selected'"?> value="1961">1961</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1960) echo "selected='selected'"?> value="1960">1960</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1959) echo "selected='selected'"?> value="1959">1959</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1958) echo "selected='selected'"?> value="1958">1958</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1957) echo "selected='selected'"?> value="1957">1957</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1956) echo "selected='selected'"?> value="1956">1956</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1955) echo "selected='selected'"?> value="1955">1955</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1954) echo "selected='selected'"?> value="1954">1954</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1953) echo "selected='selected'"?> value="1953">1953</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1952) echo "selected='selected'"?> value="1952">1952</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1951) echo "selected='selected'"?> value="1951">1951</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1950) echo "selected='selected'"?> value="1950">1950</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1949) echo "selected='selected'"?> value="1949">1949</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1948) echo "selected='selected'"?> value="1948">1948</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1947) echo "selected='selected'"?> value="1947">1947</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1946) echo "selected='selected'"?> value="1946">1946</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1945) echo "selected='selected'"?> value="1945">1945</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1944) echo "selected='selected'"?> value="1944">1944</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1943) echo "selected='selected'"?> value="1943">1943</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1942) echo "selected='selected'"?> value="1942">1942</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1941) echo "selected='selected'"?> value="1941">1941</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1940) echo "selected='selected'"?> value="1940">1940</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1939) echo "selected='selected'"?> value="1939">1939</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1938) echo "selected='selected'"?> value="1938">1938</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1937) echo "selected='selected'"?> value="1937">1937</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1936) echo "selected='selected'"?> value="1936">1936</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1935) echo "selected='selected'"?> value="1935">1935</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1934) echo "selected='selected'"?> value="1934">1934</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1933) echo "selected='selected'"?> value="1933">1933</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1932) echo "selected='selected'"?> value="1932">1932</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1931) echo "selected='selected'"?> value="1931">1931</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1930) echo "selected='selected'"?> value="1930">1930</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1929) echo "selected='selected'"?> value="1929">1929</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1928) echo "selected='selected'"?> value="1928">1928</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1927) echo "selected='selected'"?> value="1927">1927</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1926) echo "selected='selected'"?> value="1926">1926</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1925) echo "selected='selected'"?> value="1925">1925</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1924) echo "selected='selected'"?> value="1924">1924</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1923) echo "selected='selected'"?> value="1923">1923</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1922) echo "selected='selected'"?> value="1922">1922</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1921) echo "selected='selected'"?> value="1921">1921</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1920) echo "selected='selected'"?> value="1920">1920</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1919) echo "selected='selected'"?> value="1919">1919</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1918) echo "selected='selected'"?> value="1918">1918</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1917) echo "selected='selected'"?> value="1917">1917</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1916) echo "selected='selected'"?> value="1916">1916</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1915) echo "selected='selected'"?> value="1915">1915</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1914) echo "selected='selected'"?> value="1914">1914</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1913) echo "selected='selected'"?> value="1913">1913</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1912) echo "selected='selected'"?> value="1912">1912</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1911) echo "selected='selected'"?> value="1911">1911</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1910) echo "selected='selected'"?> value="1910">1910</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1909) echo "selected='selected'"?> value="1909">1909</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1908) echo "selected='selected'"?> value="1908">1908</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1907) echo "selected='selected'"?> value="1907">1907</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1906) echo "selected='selected'"?> value="1906">1906</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1905) echo "selected='selected'"?> value="1905">1905</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1904) echo "selected='selected'"?> value="1904">1904</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1903) echo "selected='selected'"?> value="1903">1903</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1902) echo "selected='selected'"?> value="1902">1902</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1901) echo "selected='selected'"?> value="1901">1901</option>
                                                     <option <?php if(isset($this->ybirthday) && $this->ybirthday==1900) echo "selected='selected'"?> value="1900">1900</option>
                                          </select>
                                    </td>
                                    <td class="outputError" id="alertBirthday">
                                    </td>
                                </tr>
                                <tr>
                                	<td class="label"><p class="labeltxt"><?php echo $this->text_address;?></p></td>
                                	<td class="td_star"><span class="star">*</span></td>
                                    <td class="txtInput">
                                    	<input type="text" name="txtAddress" id="txtAddress" maxlength="50" class="input" value="<?php if(isset($this->address)) echo $this->address; else if(isset($this->userLogin) && ($this->userLogin['address']!=null || $this->userLogin['address']!="")) echo $this->userLogin['address'];?>" />
                                    </td>
                                    <td class="outputError" id="alertAddress">
                                    </td>
                                </tr>
                                <tr>
                                	<td class="label"><p class="labeltxt"><?php echo $this->text_career;?></p></td>
                                    <td class="td_star"><span class="star">*</span></td>
                                    <td class="txtInput">
                                    	<input type="text" name="txtCareer" id="txtCareer" maxlength="30" class="input" value="<?php if(isset($this->career)) echo $this->career; else if(isset($this->userLogin) && ($this->userLogin['career']!=null || $this->userLogin['career']!="")) echo $this->userLogin['career']; ?>" />
                                    </td>
                                    <td class="outputError" id="alertCareer">
                                    </td>
                                </tr>
                                <tr>
                                	<td class="label"><p class="labeltxt"><?php echo $this->text_phone;?></p></td>
                                    <td class="td_star"><span class="star">*</span></td>
                                    <td class="txtInput">
                                    	<input type="text" name="txtPhone" id="txtPhone" maxlength="30" class="input" value="<?php if(isset($this->phone)) echo $this->phone; else if(isset($this->userLogin) && ($this->userLogin['phone']!=null || $this->userLogin['phone']!="")) echo $this->userLogin['phone']; ?>" />
                                    </td>
                                    <td class="outputError" id="alertPhone">
                                    </td>
                        		</tr>
                                <tr>
                                	<td class="label"><p class="labeltxt"><?php echo $this->text_yahoo;?></p></td>
                                    <td class="td_star"><span class="star">*</span></td>
                                    <td class="txtInput">
                                    	<input type="text" name="txtYahoo" id="txtYahoo" maxlength="30" class="input" value="<?php if(isset($this->yahoo)) echo $this->yahoo; else if(isset($this->userLogin) && ($this->userLogin['yahoo']!=null || $this->userLogin['yahoo']!="")) echo $this->userLogin['yahoo']; ?>" />
                                    </td>
                                    <td class="outputError" id="alertYahoo">
                                    </td>
                        		</tr>
                        		<tr>
                                	<td class="label"><p class="labeltxt"><?php echo $this->text_skype;?></p></td>
                                    <td class="td_star"><span class="star">*</span></td>
                                    <td class="txtInput">
                                    	<input type="text" name="txtSkype" id="txtSkype" maxlength="30" class="input" value="<?php if(isset($this->skype)) echo $this->skype; else if(isset($this->userLogin) && ($this->userLogin['skype']!=null || $this->userLogin['skype']!="")) echo $this->userLogin['skype']; ?>" />
                                    </td>
                                    <td class="outputError" id="alertSkype">
                                    </td>
                        		</tr>
                        	</table>
                        </fieldset>
                        </div><!--end contentUser_2-->
                        <div id="contentUser_3">
                        <fieldset style="width:650px">
                        	<legend><span class="nameInformation"><b><?php echo $this->text_lgcaptcha;?></b></span></legend>
                            <table width="650px">
                            	<tr>
                                	<td class="label"><p class="labeltxt"><?php echo $this->text_captcha;?></p></td>
                                	<td></td>
                                    <td class="txtInput">
                                    	<div style="width:160px; height:50px; float:left;">
                                    	<a onclick="captcha()" style="cursor:pointer"><img id="captchaShow" src="<?php echo "/captcha/images/".$this->captchaID.".jpg"?>"/></a>
                                    	</div><div style="width:28px; height:30px; float:left; margin-top:10px; margin-left:10px;">
                                    	<input type="button" id="changeCaptcha" name="changeCaptcha" value="" onclick="captcha()" style="background:url(/images/ResetButton.png); width:28px; height:30px; border:0; cursor:pointer"/>
                                    	</div>
                                    </td>
                                    <td class="outputError">
                                    	<input type="hidden" id="hdnCaptcha" name="hdnCaptcha" value="<?php echo $this->captchaID?>" />
                                    </td>
                                </tr>
                                <tr>
                        			<td></td><td></td>
                        			<td colspan="2" class="outputTip">
                        				<!-- <ul>
                        					<li>- Hãy nhập lại mã xác nhận vào bên dưới.</li>
                        					<li>- Không phân biệt HOA/thường.</li>
                        				</ul> -->
                        			</td>
                        		</tr>
                                <tr>
                                	<td class="label"><p class="labeltxt"><?php echo $this->text_inputcaptcha;?></p></td>
                                    <td class="td_star"><span class="star">*</span></td>
                                    <td class="txtInput">
                                    	<input type="text" name="txtCaptcha" id="txtCaptcha" size="20" maxlength="20" class="input" />
                                    </td>
                                    <td class="outputError" id="alertCaptcha">
                                    	<?php if(isset($this->captchaError)) echo $this->error_pass8;?>
                                    </td>
                                </tr>
                            </table>
                        </fieldset>
                        </div><!--end contentUser_3-->
                        <div id="contentUser_4">
                        	<table width="70%">
                        		<tr>
                        			<td width="20%" style="text-align:center">
                            			<input type="submit" value="<?php echo $this->text_submit;?>" class="btnUser" />
                            		</td>
                            		<td width="20%" style="text-align:center">
                            			<a href="/account"><input type="button" value="<?php echo $this->text_cancel;?>" class="btnUser"/></a>
                            		</td>
                            	</tr>
                            </table>
                        </div><!--end contentUser_4-->
                    </form>
          </div><!--end contentUser-->
   	<?php }
	}
}?>
                    <script type="text/javascript">
                    function checkPassProfile()
                    {
                    	var pass = document.frmRegister.txtPassword.value;
                    	
                    	if(pass=="" || pass==null)
                    	{
                    		document.getElementById("alertPass").innerHTML="<?php echo $this->error_profile1;?>";
                    		document.frmRegister.txtPassword.focus();
                    		return false;
                    	}
                    	for(var i=0; i<pass.length; i++)
                    	{
                    		if(pass.charCodeAt(i)<32 || pass.charCodeAt(i)>126)
                    		{
                    			document.getElementById("alertPass").innerHTML="<?php echo $this->error_profile2;?>";
                    			document.frmRegister.txtPassword.focus();
                    			return false;
                    		}
                    	}
                    	document.getElementById("alertPass").innerHTML="";
                    	return true;
                    }


                    function checkFullName()
                    {
                    	var fullName = document.frmRegister.txtFullName.value;
                    	if(fullName.length<4 || fullName.length>30)
                    	{
                    		document.getElementById("alertFullName").innerHTML="<?php echo $this->error_profile3;?>";
                    		document.frmRegister.txtFullName.focus();
                    		return false;
                    	}
                    	document.getElementById("alertFullName").innerHTML="";
                    	return true;
                    }

                    function checkBirthday()
                    {
                    	var d = document.frmRegister.dBirthday.value;
                    	var m = document.frmRegister.mBirthday.value;
                    	var y = document.frmRegister.yBirthday.value;
                    	if(d==0||m==0||y==0)
                    	{
                    		document.getElementById("alertBirthday").innerHTML="<?php echo $this->error_profile4;?>";
                    		document.frmRegister.dBirthday.focus();
                    		return false;
                    	}
                    	if((m==4||m==6||m==9||m==11)&&d==31)
                    	{
                    		document.getElementById("alertBirthday").innerHTML="<?php echo $this->error_profile5;?>";
                    		document.frmRegister.dBirthday.focus();
                    		return false;
                    	}
                    	if(m==2)
                    	{
                    		if(d>29)
                    		{
                    			document.getElementById("alertBirthday").innerHTML="<?php echo $this->error_profile5;?>";
                    			document.frmRegister.dBirthday.focus();
                    			return false;
                    		}
                    		if(!isLeapYear(y) && d==29)
                    		{
                    			document.getElementById("alertBirthday").innerHTML="<?php echo $this->error_profile5;?>";
                    			document.frmRegister.dBirthday.focus();
                    			return false;
                    		}
                    	}
                    	document.getElementById("alertBirthday").innerHTML="";
                    	return true;
                    }

                    function checkEmail()
                    {
                    	var email = document.frmRegister.txtEmail.value;
                    	var regEmail = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/;
                    	if(email.length==0)
                    	{
                    		document.getElementById("alertEmail").innerHTML="<?php echo $this->error_profile6;?>";
                    		document.frmRegister.txtEmail.focus();
                    		return false;
                    	}
                    	if(regEmail.test(email)==false)
                    	{
                    		document.getElementById("alertEmail").innerHTML="<?php echo $this->error_profile7;?>";
                    		document.frmRegister.txtEmail.focus();
                    		return false;
                    	}
                    	document.getElementById("alertEmail").innerHTML="";
                    	return true;
                    }

                    function checkAddress()
                    {
                    	var address = document.frmRegister.txtAddress.value;
                    	if(address.length<4)
                    	{
                    		document.getElementById("alertAddress").innerHTML="<?php echo $this->error_profile8;?>";
                    		document.frmRegister.txtAddress.focus();
                    		return false;
                    	}
                    	document.getElementById("alertAddress").innerHTML="";
                    	return true;
                    }

                    function checkCareer()
                    {
                    	var career = document.frmRegister.txtCareer.value;
                    	if(career=="" || career==null)
                    	{
                    		document.getElementById("alertCareer").innerHTML="<?php echo $this->error_profile9;?>";
                    		document.frmRegister.txtCareer.focus();
                    		return false;
                    	}
                    	document.getElementById("alertCareer").innerHTML="";
                    	return true;
                    }

                    function checkPhone()
                    {
                    	var phone = document.frmRegister.txtPhone.value;
                    	if(phone.length<8)
                    	{
                    		document.getElementById("alertPhone").innerHTML="<?php echo $this->error_profile10;?>";
                    		document.frmRegister.txtPhone.focus();
                    		return false;
                    	}
                    	var reg = /^\d+$/;
                        if(reg.test(phone)==false)
                    	{
                    		document.getElementById("alertPhone").innerHTML="<?php echo $this->error_profile11;?>";
                    		document.frmRegister.txtPhone.focus();
                    		return false;
                    	}
                    	document.getElementById("alertPhone").innerHTML="";
                    	return true;
                    }

                    function checkYahoo()
                    {
                    	var yahoo = document.getElementById("txtYahoo").value;
                    	if(yahoo.length==0 || yahoo=="" || yahoo==null)
                    	{
                    		document.getElementById("alertYahoo").innerHTML="<?php echo $this->error_profile12;?>";
                    		document.frmRegister.txtYahoo.focus();
                    		return false;
                    	}
                    	document.getElementById("alertYahoo").innerHTML="";
                    	return true;
                    }

                    function checkSkype()
                    {
                    	var skype = document.frmRegister.txtSkype.value;
                    	if(skype=="" || skype==null || skype.length==0)
                    	{
                    		document.getElementById("alertSkype").innerHTML="<?php echo $this->error_profile13;?>";
                    		document.frmRegister.txtSkype.focus();
                    		return false;
                    	}
                    	document.getElementById("alertSkype").innerHTML="";
                    	return true;
                    }

                    function checkCaptcha()
                    {
                    	var captcha = document.getElementById("txtCaptcha").value;
                    	if(captcha==""||captcha=="")
                    	{
                    		document.getElementById("alertCaptcha").innerHTML="<?php echo $this->error_pass6;?>";
                    		document.frmRegister.txtCaptcha.focus();
                    		return false;
                    	}
                    	document.getElementById("alertCaptcha").innerHTML="";
                    	return true;
                    }
                    </script>
                
			<div style="clear: both;"></div>